package com.cskaoyan.service;

import com.cskaoyan.bean.User;
import com.cskaoyan.bean.UserData;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.po.MarketUser;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;

public interface UserService {

    UserData query(BaseParam param, String username, String moblie, Integer userId);

    User queryNicknameAndAvatarById(Integer userId);

    MarketUser queryById(Integer id);

    void update(MarketUser marketUser);
}
